﻿<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<meta name="format-detection" content="telephone=no">
		<meta name="viewport" content="width=device-width,user-scalable=no,initial-scale=1.0,minimum-scale=1.0,maximum-scale=1.0" />
		<meta content="telephone=no" name="format-detection" />
		<meta http-equiv="Cache-Control" content="no-transform " />
		<meta http-equiv="Cache-Control" content="no-siteapp" />
		<meta name="apple-mobile-web-app-capable" content="yes" />
		<meta name="applicable-device" content="mobile" />
		<title>「{$novel['name']}」</title>
		<meta name="Keywords" content="邪王宠妃, 大结局,邪王宠妃全文在线阅读,烟淼" />
		<meta name="Description" content="最全小说为大家提供烟淼的邪王宠妃最新章节在线阅读，邪王宠妃全文阅读无广告弹窗，手机在线看小说就选最全小说。" />
		<!--<link rel="dns-prefetch" href="//m.qirexiaoshuo.com" />-->
		<!--<link rel="dns-prefetch" href="//cj.qirexiaoshuo.com" />-->
		<!--<link rel="canonical" href="//m.qirexiaoshuo.com/book/15075/" />-->
		<link rel="stylesheet" type="text/css" href="/Public/home/css/base_4.css" />
		<link rel="stylesheet" type="text/css" href="/Public/home/css/recharge_5.css" />
		<script>
			var t_text = "「邪王宠妃」邪王宠妃全文在线阅读_烟淼 - 最全小说";
			var url_channel = "";
			if(url_channel != '') {
				try {
					var state = {
						title: t_text,
						url: url_channel
					};
					history.replaceState(state, t_text, url_channel);
				} catch(e) {}
			}
		</script>
		<script type="text/javascript" src="/Public/home/js/jquery-1.11.1.min.js"></script>
		<script type="text/javascript" src="/Public/home/js/public.js"></script>
		<script type="text/javascript" src="/Public/home/js/pay.js"></script>
		<style>
			body {
				-webkit-touch-callout: none;
				-webkit-user-select: none;
				-khtml-user-select: none;
				-moz-user-select: none;
				-ms-user-select: none;
				user-select: none;
			}
		</style>
	</head>

	<body>
		<div class="none-drift top-half header">
			<div class="inner"><span class="pull-left"><a href="/Home/Index/index"><i class="icon-home"></i>首页</a></span>
				<h2>书籍详情</h2>
				<!--<div class="sear">-->
					<!--<a onclick="show_ser_box();"><i class="icon-ss"></i></a>-->
				<!--</div>-->
				<!--搜索 begin-->
				<!--<div class="search" id="show_ser_box" style="display: none;">-->
					<!--<div class="cs-box"><button type="button" class="btn" id="show_cleare_btn" onclick="hide_ser_box();">取消</button><button type="button" class="btn" id="show_sear_btn" onclick="key_search_href();" style="display: none;">搜索</button>-->
						<!--<div class="field"><input type="text" name="keyword" id="search_keyword" maxlength="18" placeholder="" onkeyup="keyup_search(this,'top')">-->
							<!--<div class="action">-->
								<!--<a href="javascript:;" style="display: none;" id="closeid" onclick="close_clear();"><i class="icon-close"></i></a>-->
							<!--</div>-->
						<!--</div>-->
					<!--</div>-->
				<!--</div>-->
				<!--搜索 end-->
			</div>
		</div>
		<!-- 书籍详情 begin -->
		<div class="book-details">
			<div class="inner">
				<div class="entry"><img src=" {$novel['img']}" class="avatar">
					<div class="body">
						<h1>{$novel['name']}</h1>
						<?php if(!empty($novel['writer'])):?>
							<p>作者：{$novel['writer']}</p>
						<?php else:?>
							<p>作者：佚名</p>
						<?php endif;?>
							<p>类型：{$novel['class_name']} |
							<i class="green">
								<?php if($novel['is_end'] == 0):?>
								连载中
								<?php else:?>
								已完结
								<?php endif;?>
							</i></p>
						<p class="gray">{$novel['click_count']}名书友正在看</p>
					</div>
					<div class="label">
						<a href="javascript:;" class="red"> {$novel['class_name']}</a>
						<a href="javascript:;" class="green">{$novel['other_class_name']}</a>
					</div>
				</div>
			</div>
			<div class="item">
				<ul>
					<li>
						<a href="{:C('URL')}/Home/Novel/show/novel_id/{$novel['id']}" class="orange">开始阅读</a>
					</li>
					<li>
						<?php if (!empty($novel_isset)): ?>
						<a href="javascript:void(0)" style="background-color: gray;">已添加</a>

						<!--<div class="weui_btn" style="width: 45%;margin-left: 55%;background-color: #999;">已添加</div>-->
						<?php elseif (empty($novel_isset)): ?>
						<a style="background-color: #4bd398"   id="addbookshelf">加入书架</a>
						<?php endif ?>
					</li>
				</ul>
				<p class="bh_book_title_show"><?php echo mb_substr($novel['description'],0,66,'UTF-8');?>;
					<a class="javascript:;" onclick="bh_book_title_show();"><i class="icon-open"></i></a>
				</p>
				<p class="bh_book_title_hide" style="display: none;">{$novel['description']}
					<a class="javascript:;" onclick="bh_book_title_hide();"><i class="icon-shrink"></i></a>
				</p>
			</div>
			<div class="update">
				<a href="/Home/Novel/novelcatalog/id/{$novel['id']}">
					<h3>目录</h3><span class="pull-left">最近更新：{$chapter_list['chapter']} {$chapter_list['title']}</span><span class="pull-right">{$time}<i class="icon-more"></i></span></a>
			</div>
		</div>
		<!-- 书籍详情 end -->
		<!--评论 begin-->
		<!--<div class="net-friend bor-top">-->
			<!--<div class="title"><span class="pull-left"><h3>网友评论</h3>0人评论-->
            <!--</span><span class="pull-right"><a href="/Comment/publist/?bid=15075"><i class="icon-write"></i>写评论</a></span></div>-->
			<!--<div class="entry" id="html_box"></div>-->
			<!--<div class="check">-->
				<!--<a href="/Comment/list_comment/?bid=15075">查看更多评论</a>-->
			<!--</div>-->
		<!--</div>-->
		<!--评论 end-->
		<!--喜欢这部书的人还喜欢 begin-->
		<!--<div class="recommend like book-like bor-top">-->
			<!--<div class="title">-->
				<!--<h3>喜欢这部书的人还喜欢</h3>-->
				<!--&lt;!&ndash;<a href="javascript:;" onclick="get_other_books_info(15075);"><i class="icon-change"></i>换一批</a>&ndash;&gt;-->
			<!--</div>-->
			<!--<div class="entry">-->
				<!--<ul id="other_book"></ul>-->
			<!--</div>-->
		<!--</div>-->
		<!--喜欢这部书的人还喜欢 end-->
		<!--作者其它作品 begin-->
		<div class="recommend other-works bor-top">
			<div class="title">
				<h3>喜欢这部书的人还喜欢</h3>
				<a href="javascript:;" onclick="get_other_books_info1()"><i class="icon-change ">换一批</i></a>
				</div>
			<div class="entry">
				<ul id="other_book">
					<foreach name="novel_list" item="vo">
						<li>
							<a href="/Home/Novel/novelinfo/id/{$vo['id']}"><img src=" {:C('FILE_HOST_PATH')}{$vo['img']}">
								<p>{$vo['name']}</p>
							</a>
						</li>
					</foreach>
				</ul>
			</div>
			<!--<div class="check">-->
				<!--<a href="/Book/author_list?author=烟淼">查看全部作品</a>-->
			<!--</div>-->
		</div>
		<!--作者其它作品 end-->
		<!--图书相关信息 begin-->
		<!--<div class="recommend book-relevant bor-top">-->
			<!--<div class="title">-->
				<!--<h3>图书相关信息</h3><span><a href="javascript:;" onclick="toggle_book_info()" >展开<i class="icon-open"></i></a></span></div>-->
			<!--<div class="entry" id="book_rele_info" style="display: none;">-->
				<!--<p>版权来源：<i class="blue">广东畅读</i></p>-->
				<!--<p>免责声明：本书版权由广东畅读提供，授权本软件使</p>-->
				<!--<p>用、制作、发行、若包括不良信息，请及时告知客服！</p>-->
			<!--</div>-->
		<!--</div>-->
		<!--图书相关信息 end-->
		<!--login begin-->
		<div class="backdrop bh_wxlogin_lay" style="display: none;"></div>
		<div class="modal bh_wxlogin_lay" style="margin-top: -114px; display: none;">
			<div class="inner clearfix">
				<div class="wechat-login-box">
					<div class="head">
						<div class="title">您还未登陆哦！</div>
					</div>
					<div class="body mt-10 clearfix">
						<a href="https://graph.qq.com/oauth2.0/authorize?response_type=code&client_id=101378662&redirect_uri=http%3A%2F%2Fm.qirexiaoshuo.com%2Fmy%2FqqLogin%3Fcallback%3Dhttp%253A%252F%252Fm.qirexiaoshuo.com%252Fbook%252F15075%252F&state=f2cc784bbb3067f84f8bba0ea23e0c77&scope=get_user_info" class="btn qq mt-10">QQ一键登录</a>
					</div>
				</div>
				<div class="bottom"> 登录有问题？
					<a href="/my/kefu.html">联系客服</a>
				</div>
				<div class="pull-action">
					<a onclick="hide_login();"><i class="icon-close"></i></a>
				</div>
			</div>
		</div>
		<!--login end-->
		<!-- 选择充值书币数额面板 -->
		<div class="backdrop bh_recharge_box" style="display: none;"></div>
		<div class="item2p recharge_sc bh_recharge_box" style="display: none;">
			<div class="inner">
				<div class="title"><strong>请选择充值金额</strong>
					<p class="read">首充翻倍送书币</p>
				</div>
				<div class="close">
					<a href="javascript:;" onclick="hide_recharge_box();"></a>
				</div>
				<div class="entry">
					<ul>
						<li>
							<a onclick="switchCoins(this,50)" class="active"><i class="chong-icon-check"></i><span class="jine">50元</span><i class="cz-xian"></i>
								<div class="rt"><span class="tip">500书币+300书币</span><i class="reward">(多送30元)</i></div>
							</a>
						</li>
						<li>
							<a onclick="switchCoins(this,30)"><span class="jine">30元</span><i class="cz-xian"></i>
								<div class="rt" style="line-height: 45px;"><span class="tip">300书币</span><i class="reward">(多送0元)</i></div>
							</a>
						</li>
						<li>
							<a onclick="switchCoins(this,100)"><i class="chong-icon-check"></i><span class="jine">100元</span><i class="cz-xian"></i>
								<div class="rt"><span class="tip">1000书币+800书币</span><i class="reward">(多送80元)</i></div>
							</a>
						</li>
						<li>
							<a onclick="switchCoins(this,200)" class=""><i class="chong-icon-check"></i><span class="jine">200元</span><i class="cz-xian"></i>
								<div class="rt"><span class="tip">2000书币+2000书币</span><i class="reward">(多送200元)</i></div>
							</a>
						</li>
					</ul>
				</div>
				<div class="btn">
					<a href="javascript:;" onclick="show_choice_pay();">立即充值</a>
				</div>
			</div><input type="hidden" value="50" id="coinmoney"></div>
		<!-- 选择充值书币数额面板 -->
		<!-- 支付浮层 -->
		<div class="backdrop choice_pay_box" style="display: none;"></div>
		<div class="item2p choice-pay choice_pay_box" style="display: none;">
			<div class="inner">
				<div class="title"><strong>选择支付方式</strong></div>
				<div class="close">
					<a href="javascript:;" onclick="hide_choice_pay();"></a>
				</div>
				<div class="entry">
					<ul>
						<!--<li><a href="#"><i class="icon-ios"></i>苹果支付</a></li>-->
						<li id="now_wx">
							<a href="javascript:;" onclick="apiPay_now_fun(2);"><i class="icon-wechat"></i>微信支付</a>
						</li>
						<li>
							<a href="javascript:;" onclick="apiPay_zfb_fun(2);"><i class="icon-alipay"></i>支付宝支付</a>
						</li>
					</ul>
				</div>
			</div>
		</div>
		<!--支付浮层 -->
		<script>
			// 支付宝支付
			var paynow_url = "/nowpay/pay";

			function apiPay_now_fun(pro_id) {
				// pro_id  1购买VIP  2购买书币  3打赏
				if(pro_id == 1) {
					paytitle = '购买VIP';
					payfee = 28;
				}
				if(pro_id == 2) {
					paytitle = '购买书币';
					payfee = $("#coinmoney").val();
				}
				if(pro_id == 3) {
					paytitle = '打赏';
					payfee = $("#dasmoney").val();
				}
				payfee = parseFloat(payfee) + 0;
				if(payfee < 0.01 || isNaN(payfee)) {
					bh_msg_tips(paytitle + '金额不能小于0.01元');
					return false;
				}
				checkandnowpay(payfee, pro_id, paytitle, bid, encodeURI(window.location.href));
			}
		</script>
		<!-- <script> -->
			<!-- $(function(){ -->
				<!-- $('.huan').click(function(){ -->
					<!-- var html = $.ajax({url:"/Home/Novel/changeC",async:false}); -->
					<!-- $('#change').html(html.responseText.data); -->
				<!-- }); -->
			
			<!-- }); -->
		<!-- </script> -->
		<!-- 打赏 begin -->
		<div class="backdrop bh_dashang" style="display: none;"></div>
		<div class="item2p reward bh_dashang" style="display: none;">
			<div class="inner">
				<div class="title"> 打赏给</div>
				<div class="close">
					<a href="javascript:;" onclick="bh_hide_das_fun();"></a>
				</div>
				<div class="entry" id="bh_dashang_box">
					<ul>
						<li>
							<a get_money="1.88" class="active">1.88元<i class="icon-check"></i></a>
						</li>
						<li>
							<a get_money="6.88">6.88元<i class="icon-check"></i></a>
						</li>
						<li>
							<a get_money="8.88">8.88元<i class="icon-check"></i></a>
						</li>
					</ul>
				</div>
				<div class="field"><input type="text" name="money" id="dasmoney" placeholder="输入打赏金额" value="1.88"><label class="label">打赏TA</label><span class="unit">元</span></div>
				<div class="btn">
					<a href="javascript:;" onclick="apiPay_zfb_fun(3);">支付宝支付</a>
				</div>
			</div>
		</div>
		<!-- 打赏 end -->
		<script>
			$(function() {
				var fontSize = $(window).width() / 25;
				$("html").css("font-size", fontSize);
				uid = "0";
			})
		</script>
		<script>
			bid = "15075";

			$(function() {
				//get_other_books_info(); //  其他作品
				
				<!-- // 评论 -->
				<!-- var url = "/Comment/ajax_list_comment"; -->
				<!-- var data = { -->
					<!-- p: 1, -->
					<!-- bid: bid -->
				<!-- }; -->
				<!-- get_page_data(url, data, 'no'); -->
			})
		</script>
		<script>
		// 书籍详情页 其他在作品换一换
			function get_other_books_info1(){
				var url = "/Home/Novel/changeC";
				var data = 1;
				AjaxJson(url,data,function(data){
					if(data.status*1 == 1){
						$("#other_book").html(data.data);
					}else{
						bh_msg_tips(data.info);
					}
				})
			}
		
		
		</script>
		
		<script>
			(function() {
				var bp = document.createElement('script');
				var curProtocol = window.location.protocol.split(':')[0];
				if(curProtocol === 'https') {
					bp.src = 'https://zz.bdstatic.com/linksubmit/push.js';
				} else {
					bp.src = 'http://push.zhanzhang.baidu.com/push.js';
				}
				var s = document.getElementsByTagName("script")[0];
				s.parentNode.insertBefore(bp, s);
			})();
		</script>
		<script>
			var _hmt = _hmt || [];
			(function() {
				var hm = document.createElement("script");
				hm.src = "https://hm.baidu.com/hm.js?fcd37298453821c3bc8b266221db88ac";
				var s = document.getElementsByTagName("script")[0];
				s.parentNode.insertBefore(hm, s);
			})();
		</script>
		<script>
			/*防止iframe劫持*/
			if(self.frameElement && self.frameElement.tagName == "IFRAME") {
				top.location.href = self.location.href;
			}
			if(window.frames.length != parent.frames.length) {
				top.location.href = self.location.href;
			}
			if(self != top) {
				top.location.href = self.location.href;
			}
			var cookie_channel = "";
			var cookie_user = "1506047392754";
			var pv_uid = "0";
			var noadduv = "0";
			if(parseInt(noadduv) > 0) {
				cookie_user = 0;
			}

			if(parseInt(cookie_channel) * 1 > 0) {
				tj_pv_uvhost(pv_uid, cookie_channel, cookie_user);
			}

			// 记录pv 和uv
			function tj_pv_uvhost(uid, channel, user) {
				var tj_pv_uv_url = "//uv.qirexiaoshuo.com/Index/record_pvuv";
				var tj_pv_uv_data = {
					uid: uid,
					channel: channel,
					user: user
				};
				AjaxJsonP(tj_pv_uv_url, tj_pv_uv_data)
			}
		</script>
		<style>
			#EG0phD8f {
				display: none !important;
			}
		</style>
		<script>
			var nowPayQuery = false;
			var payPackage = null;

			function checkandnowpay(fee, product_id, product_name, book_id, callback) {
				var report_url = '/nowpay/pay';
				var report_data = {
					fee: fee,
					product_id: product_id,
					product_name: product_name,
					bid: book_id,
					callback: callback,
					random: Math.floor(Math.random() * 10000 + 1)
				};
				AjaxJson(report_url, report_data, function(res) {
					if(res.status * 1 == 1) {
						payPackage = res.data;
						nowPayQuery = true;
						window.location.href = payPackage.weixin_url;
						//不知道他们的同步回调（前台回调）是怎么回事
					} else if(res.status * 1 == -1) {
						//需要登录
						bh_msg_tips("需要登录，请重新登录重试");
						show_login();
					} else if(res.status * 1 == -2) {
						//输入参数有问题
						bh_msg_tips("选择的充值信息有误，请重新选择重试");
					} else if(res.status * 1 == -11) {
						//输入参数有问题
						bh_msg_tips("下单失败，请稍后重试");
					} else {
						bh_msg_tips(res.msg);
					}
				});
			}

			function pageFocusQueryNowPay() {
				//查询是否支付成功，成功则提示成功，然后刷新页面
				if(nowPayQuery) {
					AjaxJson('/nowpay/ajax_query', payPackage, function(res) {
						hide_choice_pay();
						if(res.status * 1 == 1) {
							bh_msg_tips("支付成功");
							setTimeout(function() {
								window.location.reload();
							}, 500);
							return;
						} else {
							//                    bh_msg_tips("未支付成功");
							return;
						}
					});
				}
			}

			$(function() {
				setInterval(function() {
					pageFocusQueryNowPay();
				}, 2000);
			})
		</script>

		<!--加入书架-->
		<script type="text/javascript">
			$(function(){
				$('#addbookshelf').click(function () {
					if($(this).css('background-color') == 'rgb(153, 153, 153)'){
						return false;
					}else{
						$.post("{:U('Shelf/addbookshelf')}",
								{
									novel_id:"{$novel['id']}",
									novel_name:"{$novel['name']}",
									novel_description:"{$novel['description']}",
									novel_img:"{$novel['img']}",
								},
								function(data){
									// alert('加入书架成功!');
									$("#addbookshelf").css('background-color','#999');
									$("#addbookshelf").text('已添加');
								});
					}
				});
			})
		</script>
	</body>

</html>